package com.weixiaodong.ModelDesign.生成实例.builder模式.案例;

public class Main {
    public static void main(String[] args) {
        /*Builder builder = new TEXTBuilder();
        Director director = new Director(builder);
        director.construct();*/
        Document document = new Document("helloworld", new String[] {"hello java", "hello python"}, new String[] {
           "java", "pyhton", "javascript"
        });
        Director director1 = new Director(new HTMLBuilder(document));
        director1.construct(document);
    }
}
